<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	<script type="text/javascript">
		var num="123456w2345";
		var reg0=/[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/;
		var reg1=new RegExp(/[0-9]{11}/);
		// console.log(reg1.test(num));
		//console.log(num.search(reg0));
	//	 console.log(num.match(reg1));
	//console.log(reg1.exec(num));
	var idcard="34082319990915499X";
	   var reg2=/[1-9][0-9]{16}([0-9]|X)/;
	 console.log(reg2.test(idcard));
	   var qq="1091374082";
	   var reg3=/1[345][0-9]{8}/;
	 //  console.log(reg3.test(qq));
	 //  console.log(reg3.exec(qq));
	   var wechat="lLp7208023";
	    var reg4=/[A-z]{1,3}[0-9]{4,}/
	    var reg5=/(l|L)/g;
	    var reg6=/l/ig;
	   // console.log(reg4.test(wechat));
	   // console.log(wechat.match(reg6));
	</script>
	</body>
</html>
